package zhouzhouyongche.service.impl;

import java.util.List;
import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import zhouzhouyongche.dao.PassengerDao;
import zhouzhouyongche.dao.UserDao;
import zhouzhouyongche.model.Passenger;
import zhouzhouyongche.model.User;
import zhouzhouyongche.service.UserService;

@Service
public class UserServiceImpl implements UserService{

	@Autowired
	private UserDao userDao;

	@Override
	public int signIn(String phoneNumber, String password) {
		return userDao.signIn(phoneNumber, password);
	}

	@Override
	public int signUp(String phoneNumber, String password) {
		return userDao.signUp(phoneNumber, password);
	}	
	
}
